export let option = function () {
    return {
        radar: {
            // shape: 'circle',
            indicator: [
                { name: '南昌县', max: 6500 },
                { name: '东湖区', max: 16000 },
                { name: '西湖区', max: 30000 },
                { name: '青云谱区', max: 38000 },
                { name: '青山湖区', max: 52000 },
                { name: '安义县', max: 5000 },
                { name: '进贤县', max: 5000 },
                { name: '新建县', max: 12000 },
                { name: '红谷滩区', max: 30000 }
            ],
            // shape: 'circle',
            splitLine: {
                lineStyle: {
                    color: [
                        'rgba(238, 197, 102, 0.1)',
                        'rgba(238, 197, 102, 0.2)',
                        'rgba(238, 197, 102, 0.4)',
                        'rgba(238, 197, 102, 0.6)',
                        'rgba(238, 197, 102, 0.8)',
                        'rgba(238, 197, 102, 1)'
                    ].reverse()
                }
            },
            splitArea: {
                show: false
            },
            axisLine: {
                lineStyle: {
                    color: 'rgba(238, 197, 102, 0.5)'
                }
            },
            axisName: {
                color: 'rgb(238, 197, 102)'
            },
        },
        series: [
            {
                name: 'Budget vs spending',
                type: 'radar',
                itemStyle: {
                    color: '#F9713C'
                },
                data: [
                    {
                        value: [4200, 7000, 20000, 35000, 35000,2600,3200,3200,16000],
                        name: 'Allocated Budget',
                        areaStyle: {
                            color: '#a54f27'
                        }
                    }
                ]
            }
        ]
    };
}